From 6087f5b5e60de9d38855d6ee71e5b3ff9f28684b Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 15 Apr 2024 17:46:46 -0700
Subject: feat(badges): fade hidden badges in edit mode

---
 src/routes/user/[user]/badges/+page.svelte | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/routes/user/[user]/badges/+page.svelte')

diff --git a/src/routes/user/[user]/badges/+page.svelte b/src/routes/user/[user]/badges/+page.svelte
index 233be31a..d55068e4 100644
--- a/src/routes/user/[user]/badges/+page.svelte
+++ b/src/routes/user/[user]/badges/+page.svelte
@@ -760,6 +760,7 @@
 														source={cdn(thumbnail(badge.image))}
 														alternative={badge.description}
 														fallback={thumbnail(badge.image)}
+														style={badge.hidden ? 'filter: grayscale(100%); opacity: 50%;' : ''}
 													/>
 												</a>
 											{:else}
-- 
cgit v1.2.3

